package com.viphuli.http.bean.page;

import com.google.gson.annotations.SerializedName;
import com.viphuli.http.bean.PageBaseBean;

public class CommonPaperPage extends PageBaseBean {
	private static final int FIRST_PAGE = 1;

	@SerializedName("total_count")
	private int totalCount;

	@SerializedName("page")
	private int page;

	@SerializedName("page_size")
	private int pageSize;
	
	/**
	 * 是否是第一页
	 * @return
	 */
	public boolean isFirstPage() {
		return page == FIRST_PAGE;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	
}
